package cn.zhb.backend.core.dto;

import cn.zhb.backend.core.enumerate.UserRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/***
 *@Description
 *@Author ZHB
 *@Create 2025/7/4 下午3:11
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(description = "用户修改注册")
public class UserSaveDto extends BaseDto{

    @ApiModelProperty(value = "账户", required = true)
    private String account;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "角色")
    private UserRole role;

}
